package com.ywgt.system.service;

import com.github.pagehelper.Page;
import com.ywgt.system.pojo.Department;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yiping
 * @since 2021-01-15
 */
public interface DepartmentService extends IService<Department> {
    /**
     * 根据条件对部门进行查询
     * @param pageNum 页码
     * @param pageSize 每页显示数量
     * @param department 查询构件的对象
     * @return 返回的分页对象
     */
    Page<Department> findDepartmentList(Integer pageNum, Integer pageSize, Department department);
}
